package sivan.service;

import org.springframework.stereotype.Service;
import sivan.aspect.RateLimit;

/**
 * Created by sivan on 2019/3/22.
 */
@Service
public class UserService implements UserInterface {

    private StudentService studentService;

    public StudentService getStudentService() {
        return studentService;
    }


    public void setStudentService(StudentService studentService) {
        this.studentService = studentService;
    }

    @RateLimit
    @Override
    public void call() {
        System.out.println("PersonService方法调用");
    }

    public String getScore() {
        return null;
    }

    @Override
    public String getName() {
        return "name";
    }

    @Override
    public void setName(String name) {

    }
}
